package com.ruoyi.vo;

import com.ruoyi.dto.FlowableButton;
import lombok.Data;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>流程任务<p>
 *
 * @author XuanXuan
 *
 */
@Data
public class FlowTaskVO {

    private FlowableButton flowableButton;

    private String auditType;

    private String taskId;
    private Long id;

    
    private String userId;

    
    private String comment;

    
    private String instanceId;

    
    private String targetKey;

    private String userType;

    private String appointor;

    private BigDecimal amount;

    
    private Map<String, Object> values;

    
    private String assignee;

    
    private List<String> candidateUsers;

    
    private List<String> candidateGroups;

    private String candidatesUserId;

    public FlowTaskVO() {
    }

    public FlowTaskVO(String taskId, String comment) {
        this.taskId = taskId;
        this.comment = comment;
    }

    public Map<String, Object> getValues() {
        if(values == null){
            values = new HashMap<>();
        }
        return values;
    }


}
